package org.amf.applet;

import java.awt.Graphics;
import javax.swing.JApplet;
import org.amf.gui.LoginJPanel;

/**
 * Applet caricata in pagina
 *
 * @author Federico Casani
 */
public class AMFApplet extends JApplet {

   private LoginJPanel loginJPanel;
    /**
     * Initialization method that will be called after the applet is loaded
     * into the browser.
     */
    @Override
    public void init() {
        
    }

    @Override
    public void start() {

        loginJPanel = new LoginJPanel(this.getCodeBase(), this.getAppletContext());
        
        getContentPane().add(loginJPanel);

        this.setSize(650, 250);
        
    }


    @Override
    public void paint(Graphics graphics) {
        
    }


    @Override
    public void destroy() {
        super.destroy();
    }

    
}
